package ru.kisa_wst.Tests;
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Collection;

import ru.kisa_wst.parse.Parser;




public class ParserTests {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws UnknownHostException 
	 */
	public static void main(String[] args) throws UnknownHostException, IOException {
		String url = "http://google.ru";
		Collection<String> page = null;
		Parser parser = new Parser();
		page = parser.getLinks(url);
		for(String link:page){
			System.out.println(link);
		}
	}

}
